import React from 'react';
import './index.css';
import Dialog from 'components/Dialog';

/**
 * 被主播踢出的弹窗
 */

export default class GetKickoutAlert extends React.Component {
    constructor(props){
        super(props);

    }

    componentDidUpdate() {

    }

    componentDidMount() {

    }

    sureClick = () => {
        this.props.dialogHandle()
    }

    render() {
        return (
            <Dialog title="盟主直播" className='get-kickout-dialog' width={320} afterClose={() => this.props.dialogHandle()}
            >
                <div className='note' style={{fontSize: '0.3rem'}}>您已被踢出</div>
                <div className={'mobile-sure'} onClick={this.sureClick}>确定</div>
            </Dialog>

        )
    }
}
